package com.project.easy.common.util.constants;

import java.math.BigDecimal;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @ClassName CommonConstant
 * @Description
 * @Author GreatorMan.cool
 * @Date 2020/2/10 14:13
 * @Version 1.0
 **/
public final class CommonConstant {

    private CommonConstant() {
    }

    /**
     * 空集合
     */
    public static  final  List EMPTY_LIST = Collections.EMPTY_LIST;
    /**
     * 空MAp
     */
    public static  final   Map EMPTY_MAP = new HashMap();
    /**
     *正在执行的类
     */
    public static  final   String CURRENT_CLASS = "sun.java.command";
    /**
     * 系统内部变量前缀
     */
    private static final String INNER_EVN_PRE = "inner.evn.";
    /**
     * 系统编码
     */
    public static final String YQKJ_SYS_CODE = INNER_EVN_PRE + "yqkj.sys.code";
    /**
     * 数据中心ID
     */
    public static final String DATA_CENTER_FLAG  = INNER_EVN_PRE + "dataCenter";
    /**
     * 工作机器ID
     */
    public static final String WORK_ID = INNER_EVN_PRE + "workId";
    /**
     * 空字符串
     */
    public static  final  String EMPTY_STRING = "";
    /**
     * 默认的系统
     */
    public static final  String DEFAULT_SYS_CODE = "yqkj_framework_system";
    /**
     * -1
     */
    public static  final Long LOSS_ONE_LONG = -1L;
    /**
     * int -1
     */
    public static  final int LOSS_ONE_INT = -1;

    public  static  final  int FOUR_INT = 4;
    /**
     * 时间格式
     */
    public  static final String YMDHMS = "yyyy-MM-dd HH:mm:ss";
    /**
     * 树结构
     */
    public static final Long ROOT_ID = -1L;
    /**
     * 价格分转换
     */
    public static final BigDecimal PRICE_UNIT = BigDecimal.valueOf(100);
    /**
     * 默认自动执行用户ID
     */
    public static final Long AUTO_USER = 100000000L;
    /**
     * 默认JOB执行用户ID
     */
    public static final Long JOB_USER = 100000001L;


}
